﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace UMLTouch.Core.ViewModel
{
    public abstract class ViewModelBase : INotifyPropertyChanged
    {

        public event PropertyChangedEventHandler PropertyChanged;

        

        protected virtual void RaisePropertyChanged(String property)
        {

            PropertyChangedEventArgs args = new PropertyChangedEventArgs(property);
            if (PropertyChanged != null)
            {
                PropertyChanged(this,args);
            }
        }
    }
}
